<div id=cat_sidebar> 
<h3>
  <%if (@project.nil? or (not @project.use_permission) or @project.use_permission.nil?) or (@project.use_permission and @cur_user.have_power?(@project))%>
  <span id="edit_display" class=float_right><%=link_to "Edit".t,"#",:onclick=>"Element.toggle('rename');Element.toggle('edit_display');Element.toggle('edit_hide');Element.toggle('new_cat')",:class=>'admin'%></span>
<%end%>
  <span id="edit_hide" class=float_right style="display:none"><%=link_to "Done edit".t,"#",:onclick=>"Element.toggle('rename');Element.toggle('edit_display');Element.toggle('edit_hide');Element.toggle('new_cat')",:class=>'admin'%></span>
  <%="Roles".t%>
 </h3>
  <div id=cat_side_show>
  <%=render :partial=>'/permission/role_list',:locals=>{:project=>params[:project_id],:label=>'ss'}%>
</div>
</div>
